home *** CD-ROM | disk | FTP | other *** search
- Path: news.production.compuserve.com!news
- From: Nil Bannerjee <100704.1417@CompuServe.COM>
- Newsgroups: comp.lang.c++
- Subject: Re: Question about destructor...
- Date: 3 Jan 1996 21:22:45 GMT
- Organization: CompuServe, Inc. (1-800-689-0736)
- Message-ID: <4ces35$3iq$1@mhafn.production.compuserve.com>
- References: <4cegke$p5@newsbf02.news.aol.com>
-
- If you call the destructor of A from B's destructor then this
- will take care of the inherited attributes.
-
- CB::~CB()
- {
- //your stuff..
- ..
- ..
- ~CA();
- }
-